package org.wjk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.wjk.pojo.entity.SysUserEntity;

import java.util.List;

@Mapper
public interface SysUserMppr extends BaseMapper<SysUserEntity>
{
    SysUserEntity loadUserByUsername (String username);

    List<String> queryCurrentUserHasPermissions(String username);

    int lockedCurrentUser(String username);
}
